package math2;

import fem2.MeshPart;

/**
 * abstract class represents geometry interpolation within an element
 * 
 * @author hbui
 * 
 */
public abstract class Geometry {

	/**
	 * interpolate physical coordinate at a point in geometry of the mesh part
	 * 
	 * @param mp
	 * @param xi
	 * @return
	 */
	public abstract double[] valueAt(MeshPart mp, double... xi);

	/**
	 * evaluate jacobian of geometry
	 * 
	 * @param mp
	 * @param xi
	 * @return
	 */
	public abstract double[][] jacobianAt(MeshPart mp, double... xi);
}
